package tsg.component;

import tsg.component.PCFrame;
import tsg.component.SystemFrame;
import tsg.util.OperatingSystem;

public class WindowFactory 
{
	private WindowFactory()
	{
		
	}
	
	public static SystemFrame createSystemFrame(String title, Frame frameWrapper)
	{
		SystemFrame frame = null;
		
		if(OperatingSystem.getOperatingSystem() != OperatingSystem.ANDROID)
		{
			frame = new PCFrame(title, frameWrapper);
		}
		
		return frame;
	}
}
